<!doctype html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>报表_每日钻石统计</title>
    <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/amazeui/2.7.2/js/amazeui.min.js"></script>
    <script src="https://cdn.bootcss.com/moment.js/2.18.1/moment.min.js"></script>
    <script src="https://cdn.bootcss.com/moment.js/2.18.1/locale/zh-cn.js"></script>
    <script src="https://cdn.bootcss.com/echarts/3.6.1/echarts.min.js"></script>
    <link rel="stylesheet" href="/assets/css/excel.css">
    <script src="../js/main.js"></script>
    <script>
        $(function () {
            config.tab_name = "report_asset_diamond";
            sys_handler.get_options("2");
            var html = "";
            for (var i = 0; i < tab_config.options_channel.length; i++) {
                html += "<option value=\"" + tab_config.options_channel[i][0] + "\">" + tab_config.options_channel[i][1] + "</option>";
            }
            $("#channel_id").html(html);
            excel_handler.per();
            $(".am-tabs ul li").click(function(){
                var id = $(this).find("a").attr("href");
                if(id == "#asset_prize"){
                    $("#asset_prize").show();
                    $("#asset_cost").hide();
                }else{
                    $("#asset_prize").hide();
                    $("#asset_cost").show();
                }
            });
        })
    </script>
</head>

<body>
<header class="am-topbar am-topbar-inverse admin-header"></header>
<div class="tpl-page-container tpl-page-header-fixed">
    <div class="tpl-content-wrapper" id="tpl-content-wrapper">
        <div class="tpl-portlet-components">
            <div class="portlet-title">
                <div class="caption font-green bold">
                    <span class="am-icon-code"></span> <span id="content_title">报表_每日钻石统计</span>
                </div>
            </div>
            <div class="tpl-block" id="tab">
                <div id="content_tab_list" class="am-g">
                    <div style="margin-bottom: 20px;overflow: hidden;">
                        <div class="am-cf">
                            <div class="am-btn-toolbar">
                                <div class="am-btn-group am-btn-group-xs">
                                    <button type="button" class="am-btn am-btn-primary"
                                            onclick="excel_handler.per()"><span class="am-icon-search"></span> 查询
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                    <form class="am-form" id="form_list">
                        <div class="am-tabs" data-am-tabs>
                            <ul class="am-tabs-nav am-nav am-nav-tabs">
                                <li class="am-active"><a href="#asset_prize">奖励</a></li>
                                <li><a href="#asset_cost">消耗</a></li>
                            </ul>
                        <table class="am-table am-table-hover am-table-bordered" id="table">
                            <thead id="table_input">
                            <tr>
                                <th><input type="text" name="c_times" class="am-form-field" id="c_times">
                                    <script type="application/javascript">$(function () {
                                        var $new_date = $("#c_times").datetimepicker();
                                        var date = time_lib.to_date(-1);
                                        $new_date.data("DateTimePicker").date(date);
                                    }) </script>
                                </th>
                                <th><select name="channel_id" id="channel_id" style="display: none;"></select>
                                    <script type="application/javascript">$(function () {
                                        $("#channel_id").selected({btnSize: 'xs'});
                                    })</script>
                                </th>
                            </tr>
                            </thead>
                            <thead id="table_field">
                            <tr>
                                <th width="100">分类</th>
                                <th width="100">获取钻石</th>
                                <th width="100">总占比</th>
                                <th width="160">获取项名称</th>
                                <th width="100">数量</th>
                                <th width="100">占比</th>
                                <th>用户数</th>
                            </tr>
                            </thead>
                            <tbody id="asset_prize">
                            <tr><td rowspan="2">转盘</td><td rowspan="2"></td><td rowspan="2"></td><td>大转盘钻石(10)</td><td id="101501002">0</td><td></td><td></td></tr>
                            <tr><td>大转盘钻石箱(30)</td><td id="101501010">0</td><td></td><td></td></tr>
                            <tr><td rowspan="7">等级礼包(10)</td><td rowspan="7"></td><td rowspan="7"></td><td>等级礼包1</td><td id="100102001">0</td><td></td><td></td></tr>
                            <tr><td>等级礼包5(15)</td><td id="100102002">0</td><td></td><td></td></tr>
                            <tr><td>等级礼包10(25)</td><td id="100102003">0</td><td></td><td></td></tr>
                            <tr><td>等级礼包15(35)</td><td id="100102004">0</td><td></td><td></td></tr>
                            <tr><td>等级礼包20(50)</td><td id="100102005">0</td><td></td><td></td></tr>
                            <tr><td>等级礼包25(100)</td><td id="100102006">0</td><td></td><td></td></tr>
                            <tr><td>等级礼包30(150)</td><td id="100102007">0</td><td></td><td></td></tr>
                            <tr><td rowspan="1">邮件</td><td rowspan="1"></td><td rowspan="1"></td><td>领取邮件奖励</td><td id="15">0</td><td></td><td></td></tr>
                            <tr><td rowspan="12">任务</td><td rowspan="12"></td><td rowspan="12"></td><td>每日登陆</td><td id="100502001">0</td><td></td><td></td></tr>
                            <tr><td>分享到朋友圈</td><td id="100502002">0</td><td></td><td></td></tr>
                            <tr><td>普通场对局5场</td><td id="100502003">0</td><td></td><td></td></tr>
                            <tr><td>普通场赢取5千金币</td><td id="100502004">0</td><td></td><td></td></tr>
                            <tr><td>参加1场SNG比赛</td><td id="100502005">0</td><td></td><td></td></tr>
                            <tr><td>获得1场SNG名次</td><td id="100502006">0</td><td></td><td></td></tr>
                            <tr><td>打赏荷官3次</td><td id="100502007">0</td><td></td><td></td></tr>
                            <tr><td>使用3次动作表情</td><td id="100502008">0</td><td></td><td></td></tr>
                            <tr><td>使用一次道具</td><td id="100502009">0</td><td></td><td></td></tr>
                            <tr><td>充值任意金额</td><td id="100502010">0</td><td></td><td></td></tr>
                            <tr><td>每周任务</td><td id="100503001">0</td><td></td><td></td></tr>
                            <tr><td>成就任务</td><td id="100501001">0</td><td></td><td></td></tr>
                            <tr><td rowspan="7">月卡奖励</td><td rowspan="7"></td><td rowspan="7"></td><td>周卡1每日奖励(10)</td><td id="100804001">0</td><td></td><td></td></tr>
                            <tr><td>月卡2每日奖励(20)</td><td id="100804002">0</td><td></td><td></td></tr>
                            <tr><td>月卡3每日奖励(60)</td><td id="100804003">0</td><td></td><td></td></tr>
                            <tr><td>金卡（4.99$）(80)</td><td id="100802001">0</td><td></td><td></td></tr>
                            <tr><td>白金卡（19.99$）(300)</td><td id="100802002">0</td><td></td><td></td></tr>
                            <tr><td>黑卡（49.99$）(900)</td><td id="100802003">0</td><td></td><td></td></tr>
                            <tr><td>首冲礼包(60)</td><td id="100104001">0</td><td></td><td></td></tr>
                            <tr><td rowspan="1">测试</td><td rowspan="1"></td><td rowspan="1"></td><td>测试</td><td id="-1">0</td><td></td><td></td></tr>
                            </tbody>
                            <tbody id="asset_cost" style="display:none;">
                            <tr><td rowspan="21">道具购买</td><td rowspan="21"></td><td rowspan="21"></td><td>10000筹码(-10)</td><td id="-100801001">0</td><td></td><td></td></tr>
                            <tr><td>50000筹码(-50)</td><td id="-100801002">0</td><td></td><td></td></tr>
                            <tr><td>3天表情包(-20)</td><td id="-100801003">0</td><td></td><td></td></tr>
                            <tr><td>7天表情包(-40)</td><td id="-100801004">0</td><td></td><td></td></tr>
                            <tr><td>30天表情包(-180)</td><td id="-100801005">0</td><td></td><td></td></tr>
                            <tr><td>3天魔法道具(-30)</td><td id="-100801006">0</td><td></td><td></td></tr>
                            <tr><td>7天魔法道具(-60)</td><td id="-100801007">0</td><td></td><td></td></tr>
                            <tr><td>30天魔法道具(-240)</td><td id="-100801008">0</td><td></td><td></td></tr>
                            <tr><td>3个喇叭(-15)</td><td id="-100801009">0</td><td></td><td></td></tr>
                            <tr><td>10个喇叭(-50)</td><td id="-100801010">0</td><td></td><td></td></tr>
                            <tr><td>1.5倍等级经验卡(-30)</td><td id="-100801011">0</td><td></td><td></td></tr>
                            <tr><td>2倍等级经验卡(-50)</td><td id="-100801012">0</td><td></td><td></td></tr>
                            <tr><td>柏林SNG门票(-1)</td><td id="-100801013">0</td><td></td><td></td></tr>
                            <tr><td>罗马SNG门票(-4)</td><td id="-100801014">0</td><td></td><td></td></tr>
                            <tr><td>伦敦SNG门票(-8)</td><td id="-100801015">0</td><td></td><td></td></tr>
                            <tr><td>米兰SNG门票(-40)</td><td id="-100801016">0</td><td></td><td></td></tr>
                            <tr><td>巴黎SNG门票(-200)</td><td id="-100801017">0</td><td></td><td></td></tr>
                            <tr><td>澳门SNG门票(-1000)</td><td id="-100801018">0</td><td></td><td></td></tr>
                            </tbody>
                        </table>
                        </div>
                        <input type="hidden" name="form_list_sort_key" value="">
                        <input type="hidden" name="form_list_sort" value="0">
                        <input type="hidden" name="form_list_c_page" id="c_page" value="1">
                    </form>
                    <div>
                        <p>总获取钻石数:<span style="color:red;" id="asset_count_prize">0</span></p>
                        <p>总消耗钻石数:<span style="color:red;" id="asset_count_cost">0</span></p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<footer></footer>
</body>

</html>
